<template>
    <app-layout :memu-tree="memuData">
        <transition name="router-fade" mode="out-in">
            <router-view> </router-view>
        </transition>
    </app-layout>
</template>
<script>
import AppLayout from '../../components/AppLayout';

export default {
    components: {
        AppLayout,
    },
    data() {
        return {
            memuData: [
                {
                    path: '/system',
                    text: '用户组织',
                    icon: 'ios-people',
                    subMemu: [
                        { path: '/system', text: '系统总览' },
                        { path: '/system/account', text: '系统用户' },
                        { path: '/system/role', text: '用户角色' },
                        { path: '/system/dept', text: '组织部门' },
                        { path: '/system/auth', text: '权限管理' },
                    ],
                },
                {
                    path: '/system',
                    text: '系统配置',
                    icon: 'ios-cog',
                    subMemu: [
                        { path: '/system/dict', text: '系统字典' },
                        { path: '/system/memu', text: '系统菜单' },
                    ],
                },
            ],
        };
    },
};
</script>

<style scoped lang="less">

</style>
